<template>
    <el-container id="app">
      <el-header>
        <v-header></v-header>
      </el-header>
      <el-container>
        <el-aside width="200px">
          <v-menu></v-menu>
        </el-aside>
        <el-main>
          <router-view/>
        </el-main>
      </el-container>
    </el-container>
</template>

<script>
import Menu from '@/components/Menu'
import Header from '@/components/Header'

export default {
  name: 'App',
  components: {
    'v-menu': Menu,
    'v-header': Header
  }
}
</script>

<style lang="scss">
  html, body {
    height: 100%;
  }
  #app {
    font-family: 'Avenir', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    color: #2c3e50;
    width: 100%;
    height: 100%;
  }
  .el-header {
    background: #545C64;
  }
</style>
